import axios from "axios";
import Cookies from "js-cookie";


const instance = axios.create({
    baseURL: "",
    headers: {
        'Content-Type': 'application/json',
        Authorization:Cookies.get('token')
    }
})
instance.interceptors.response.use(xhr=>{
    return xhr.data
})
export default instance